/**
 * menu service
 */
import { Injectable } from '@angular/core';
import { Headers, Http } from '@angular/http';

import { MenuItem } from './model.menu.item';

@Injectable()
export class MenuService {
    private menuUrl = '';

    constructor() { }

    public getMenu(): object[] {
        let menu: object[] = [];
        let forms: object[] = [];

        forms.push(new MenuItem('forms/layout', 'Forms Layout', 'fa fa-menu', null, false));

        menu.push(new MenuItem('dashboard', 'Dashboard', 'fa fa-dashboard', null, false))
        menu.push(new MenuItem('layout', 'Layout', 'fa fa-table', null, false));
        menu.push(new MenuItem('forms', 'Forms', 'fa fa-list', forms, false));
        menu.push(new MenuItem('panel', 'Panel', 'fa fa-file', null, false));

        return menu;
    }
}